package org.lboot.flow.custom.eda.node;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import org.lboot.flow.custom.eda.node.domain.NodeAssign;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Slf4j
@Data
@ApiModel(value = "决策任务节点配置")
public class DecisionTaskNodeConfig extends NodeConfig{
    @ApiModelProperty(value = "指派列表")
    List<NodeAssign> assignees;

    /**
     * Node ID 列表
     */
    @ApiModelProperty(value = "可决策节点列表")
    List<String> nodeIds;

    /**
     * 允许代理
     */
    private boolean enableProxy;
    /**
     * 允许加签
     */
    private boolean enableAdd;
    /**
     * 允许回退操作
     */
    private boolean enableBack;
}
